<?php

class Video_Controller_Browse_View extends Nuo_Controller
{

	function execute($request)
	{
		Nuo::setVar('breadcrum', array(
			'title' => 'Browse People',
			'links' => array(
				'admincp' => 'AdminCP',
				'admincp/user' => 'People'
			),
			'toolbar' => 'admincp/user/browse'
		));

		$table = Nuo::getTable('video');
		
		$id = $request->getParam('video_id');

		$video = $table -> find($id)->current();

		return  $this -> render(array(
			'item' => $video,
		));
	}

}
